Normalization of Horn clauses with disequality constraints

نویسنده

  • Andreas Reuß
چکیده

Horn clauses constitute a convenient, Turing-powerful tool for the specification and representation of analysis problems. However, it is not possible to express disequality conditions directly and in a natural way by means of Horn clauses. This thesis therefore proposes an extension of Horn clauses with several kinds of disequality constraints. In order to provide an automatic analysis framework capable of expressing explicit disequality conditions, the considered class of Horn clauses is restricted to the class H1, for which the satisfiability problem is decidable. H1 is chosen as a large and expressive class which can approximate in a natural way any finite set of Horn clauses, making it particularly useful for approximative analyses of termmanipulating programs based on abstract interpretation. We build on an existing normalization procedure that transforms finite sets of H1-clauses to equivalent tree automata, and show that this procedure can be adapted such that finite sets of H1-clauses extended with disequality constraints are normalized into equivalent tree automata with disequality constraints. Since emptiness is decidable for these automata, this reduction proves satisfiability decidable for H1-clauses extended with disequality constraints. In particular, we provide corresponding proofs for the following extensions: disequalities between terms, disequalities between subterms specified by paths, and homdisequalities, i.e., disequalities between images of terms under a given tree homomorphism. Such hom-disequalities allow to test whether two terms are distinct modulo a semantic interpretation, enabling to neglect information that is considered irrelevant for the intended comparison. We furthermore provide an extension of tree automata with term equality and disequality constraints, generalizing the known class of tree automata with constraints between brothers of Bogaert and Tison from 1992, enjoying full Boolean closure, but still having a decidable emptiness problem — whereas emptiness for automata with path equalities has been shown undecidable by Mongy in 1981. The four main contributions of the thesis are published in [SR11], [SR12], [RS12], and [RS10], respectively.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Normalizable Horn Clauses, Strongly Recognizable Relations, and Spi

We exhibit a rich class of Horn clauses, which we call H1 , whose least models, though possibly infinite, can be computed effectively. We show that the least model of an H1 clause consists of so-called strongly recognizable relations and present an exponential normalization procedure to compute it. In order to obtain a practical tool for program analysis, we identify a restriction of H1 clauses...

متن کامل

Proving correctness of imperative programs by linearizing constrained Horn clauses

We present a method for verifying the correctness of imperative programs which is based on the automated transformation of their specifications. Given a program prog, we consider a partial correctness specification of the form {φ} prog {ψ}, where the assertions φ and ψ are predicates defined by a set Spec of possibly recursive Horn clauses with linear arithmetic (LA) constraints in their premis...

متن کامل

Tractable Inference Systems: An Extension with a Deducibility Predicate

The main contribution of the paper is a PTIME decision procedure for the satisfiability problem in a class of first-order Horn clauses. Our result is an extension of the tractable classes of Horn clauses of Basin & Ganzinger in several respects. For instance, our clauses may contain atomic formulas S ` t where ` is a predicate symbol and S is a finite set of terms instead of a term. ` is used t...

متن کامل

Encoding First Order Proofs in SMT

We present a method for encoding first order proofs in SMT. Our implementation, called ChewTPTP-SMT, transforms a set of first order clauses into a propositional encoding (modulo theories) of the existence of a rigid first order connection tableau and the satisfiability of unification constraints, which is then fed to Yices. For the unification constraints, terms are represented as recursive da...

متن کامل

The Relationship between Craig Interpolation and Recursion-Free Horn Clauses

Despite decades of research, there are still a number of concepts commonly found in software programs that are considered challenging for verification: among others, such concepts include concurrency, and the compositional analysis of programs with procedures. As a promising direction to overcome such difficulties, recently the use of Horn constraints as intermediate representation of software ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2013